package com.ruoyi.elase.mapper;

import com.ruoyi.elase.entity.Chat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CharMapper {


    @Select("select id,chat_name as chatName from chat")
    List<Chat> getList();
}
